package br.com.insula.twithis.processor.impl;

import br.com.insula.twithis.processor.Payload;

public class MessagePayload implements Payload {

	private String payload;
	
	public MessagePayload(String payload) {
		super();
		this.payload = payload;
	}

	public Object getMessage() {
		return payload;
	}

	public void setMessage(Object text) {
		if (text instanceof String) {
			payload = text.toString();
		}
	}

}
